﻿#pragma once


// CRS232Dlg 对话框

class CRS232Dlg : public CDialogEx
{
	DECLARE_DYNAMIC(CRS232Dlg)

public:
	CRS232Dlg(CWnd* pParent = nullptr);   // 标准构造函数
	virtual ~CRS232Dlg();

// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_DIALOG_RS232 };
#endif

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持

	DECLARE_MESSAGE_MAP()
public:
	void ReadConfigIni();
	void SaveValueToConfig();
	virtual BOOL OnInitDialog();
	virtual void OnCancel();
	BOOL m_bPassRfid;
	int m_nCom1;
	int m_nPort1;
	int m_nCom2;
	int m_nPort2;
	afx_msg void OnBnClickedButton1();
	afx_msg void OnBnClickedButton2();
	afx_msg void OnBnClickedButton6();
};
